---
title: "Modify a user"
method: PATCH
path: "/user/{id|username}"
tags: ["users"]
---

# Modify a user

`PATCH /user/{id|username}`

## Request body

- EditableUser
  - `username` string, required — The user's username
  - `name` string, nullable — The user's display name
  - `email` string, email, nullable — The user's email (only displayed if requesting your own account). Requires `USER_READ_EMAIL` PAT scope.
  - `bio` string — A description of the user
  - `payout_data` UserPayoutData, nullable — Various data relating to the user's payouts status (you can only see your own)
    - `balance` integer — The payout balance available for the user to withdraw (note, you cannot modify this in a PATCH request)
    - `payout_wallet` 'paypal' | 'venmo' — The wallet that the user has selected
    - `payout_wallet_type` 'email' | 'phone' | 'user_handle' — The type of the user's wallet
    - `payout_address` string — The user's payout address

## Response `204`

Expected response to a valid request

## Other responses

- `401` — Incorrect token scopes or no authorization to access the requested item(s)
- `404` — The requested item(s) were not found or no authorization to access the requested item(s)

---

[API](https://skmtc.net/modrinth/apis/labrinth.md) · [All operations](https://skmtc.net/modrinth/apis/labrinth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modrinth/labrinth/versions/439f357e772d/schema)
